A PHP Error was encountered

Severity: Warning

Message: A non-numeric value encountered

Filename: controllers/Events.php

Line Number: 327

Backtrace:

File: /home/wd2multisite/public_html/calendar/frontend/application/modules/events/controllers/Events.php
Line: 327
Function: _error_handler

File: /home/wd2multisite/public_html/calendar/index.php
Line: 345
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/wd2multisite/public_html/calendar/frontend/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/wd2multisite/public_html/calendar/frontend/application/modules/events/models/Event_model.php
Line: 323
Function: get

File: /home/wd2multisite/public_html/calendar/frontend/application/modules/events/controllers/Events.php
Line: 332
Function: getArts

File: /home/wd2multisite/public_html/calendar/index.php
Line: 345
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND `a`.`local_approved` = '1') OR `a`.`global_approved` = '1') GROUP BY `a`...' at line 3

SELECT DISTINCT `a`.`art_id`, `a`.`name`, `a`.`file_url` FROM `art` `a` WHERE ((a.store_id = AND `a`.`local_approved` = '1') OR `a`.`global_approved` = '1') GROUP BY `a`.`art_id` ORDER BY `a`.`art_id` ASC

Filename: modules/events/models/Event_model.php

Line Number: 323